package com.kun.springbootorder.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author kunkun
 * @since 2025-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("`order_message`")
@AllArgsConstructor
@NoArgsConstructor
public class OrderMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    @TableId(value = "orderId")
    private Integer orderId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 订单内容
     */
    private String orderContent;

    /**
     * 消息发送状态，0：未发送，1：已发送，2：出现故障
     */
    private Integer status;




}
